/**
 * 服务器配置文件
 */
class serverConfig {
	public constructor() {
	}

	public static config = {
		"视野开关 ": "0-关，1-开",
		"shi": true,
		"视野范围": "0-关，1-开",
		"rangeEye": 1000,
		"host": "0.0.0.0",
		"port": 3011,
		"logpath": "logger.php",
		"foodMass": 5,
		"fireFood": 20,
		"limitSplit": 16,
		"defaultPlayerMass": 10,
		"virus": {
			"fill": "#33ff33",
			"stroke": "#19D119",
			"strokeWidth": 20,
			"defaultMass": {
				"from": 100,
				"to": 150
			},
			"splitMass": 180
		},
		"gameWidth": 2500,
		"gameHeight": 2500,
		"adminPass": "DEFAULT",
		"gameMass": 20000,
		"maxFood": 20,
		"maxVirus": 80,
		"slowBase": 4.5,
		"logChat": 0,
		"networkUpdateFactor": 40,
		"maxHeartbeatInterval": 60000,
		"foodUniformDisposition": true,
		"virusUniformDisposition": false,
		"newPlayerInitialPosition": "farthest",
		"massLossRate": 1,
		"minMassLoss": 50,
		"mergeTimer": 15,
		"maxtype": 4,
		"maxlevel": 6,
		"maxRoomCount": 1,
		"是否开启缓存池子扩容功能": "",
		"isproppoolext": true,
		"玩家死亡后退出时效": "",
		"userDeathInterval": 6000,
		"玩家初始的线长": "",
		"userInitLineLength": 150,
		"房间内玩家的最大个数": "",
		"maxUserCountByRoom": 16,
		"房间内玩家的最小个数": "",
		"minxUserCountByRoom": 3,
		"单机模式房间内玩家的最小个数": "",
		"clientMinUserCountByRoom": 15,
		"玩家的初始的速度": "",
		"initUserSpeed": 5,
		"道具总数": "",
		propMaxnum: 50,
		"道具比例": "",
		//从上到下依次为 隐身，冰，剪刀，喝酒，变色，2分荷叶，5分荷叶，20分荷叶，50分荷叶
		"propRatio":
		{
			"hide": 0.04,
			"ice": 0.04,
			"cut": 0.04,
			"drink": 0.08,
			"change": 0.1,
			"heart":0.1,
			"minleaf": 0.4,
			"lesserleaf": 0.2,
			"mediumleaf": 0.06,
			"maxleaf": 0.04,
		},
		"道具的持续时间": "",
		"propBuffReationTime":
		{

			"hide": 6000,
			"ice": 3000,
			"cut": 12000,
			"drink": 6000,
			"dizzy": 1000,	
			"heart":1000		
		},
		"断线处罚时间": "",
		"disconnection_line_time": 0,
		"新手保护时间": "",
		"newProtectTime": 3000,
		"一局游戏时间": "3*60000ms",
		"roomTime": 60000*3,
		"maxGameTime": 0.5,
		"gameOverWaitingTime": 10,
		"linePondLakeCount": 30,
		"gameMapBorder": 200,
		"更换颜色CD开关": "0-关，1-开",
		"ChangeTheTiming": 0,
		/**粒子特效开关  "0-关，1-开"*/
		"isParticleRun": 0,
		"绘制三角形形开关": "0-关，1-开",
		"ishexagon": 0,
		"青蛙大小": "数值越大青蛙越小",
		"size": 1500,
		"单机移动开关": "0-关，1-开",
		"SingleMobile": 0,
		"游戏内青蛙种类": "黄绿蓝",
		"maxFrigtype": 3,
		"玩家离近了以后自动连线": "0-关，1-开",
		"isLineAutoConnect": 1,
		"影子青蛙": "0-关，1-开",
		"shadowFrog": 0,

		"sqlinfo": {
			"connectionLimit": 100,
			"host": "DEFAULT",
			"user": "root",
			"password": "DEFAULT",
			"database": "DEFAULT",
			"debug": false
		},

		// { x: 600, y: 400 }
		// { x: 900, y: 400 },
		// { x: 1200, y: 400 },
		// { x: 600, y: 700 },
		// { x: 900, y: 700 },
		// { x: 1200, y: 700 }]
		/**新手引导道具*/
		"NewbieProp":
		[
			{ x: 600, y: 700 },
			{ x: 1200, y: 400 },
			{ x: 900, y: 700 },
			{ x: 1200, y: 700 },
			{ x: 900, y: 400 },
			{ x: 600, y: 400 }]


	}
}